Params_pre = defaultParamsPre();
Params_pre.usePCA = true;
Params_pre.nPCComponents = 30;

Params_nn = defaultParamsNN();
Params_nn.eg = 0.0001;
Params_nn.display = 1000;

Persons = 2:2:40;
runFR(Params_pre, Params_nn, Persons);
writeNumberErrors(Persons)

%vysledek: 
%   Columns 1 through 11
% 
%   100.0000   99.5000   97.3333   98.0000   99.0000   99.5000   98.0000   97.5000   98.8889   98.2000   98.3636
% 
%   Columns 12 through 20
% 
%    97.2500   97.2308   96.7857   96.8667   96.6875   96.2941   95.9444   96.4737   96.0500
